@extends('common')
@section('content')
    <form class="form-inline definewidth m20" action="index.html" method="get">
        年份：<select name="" id="" style="width: 150px;">
            <option value="">*请选择*</option></select>
        在职情况：<select name="" id="">
            <option value="">在职</option>
            <option value="">离职</option></select>
        员工编号：<input type="text" name="" id=""class="abc input-default" placeholder="" value="">
        姓名：<input type="text" name="" id=""class="abc input-default" placeholder="" value="">
        <button type="submit" class="btn btn-primary">查询</button>
        <button type="button" class="btn btn-success">导出</button>
    </form>
    <table class="table table-bordered table-hover definewidth m10">
        <thead>
        <tr>
            <th>员工编号</th>
            <th>姓名</th>
            <th>1月</th>
            <th>2月</th>
            <th>3月</th>
            <th>4月</th>
            <th>5月</th>
            <th>6月</th>
            <th>7月</th>
            <th>8月</th>
            <th>9月</th>
            <th>10月</th>
            <th>11月</th>
            <th>12月</th>
        </tr>
        </thead>
        @foreach($info as $a=>$v)
            <tr>
                <td>{{$v[0]['use_num']}}</td>
                <td>{{$v[0]['use_name']}}</td>
                @foreach($v as $aa=>$vv)
                    <td><font color="red">{{$vv['count']*8}}</font>&nbsp;&nbsp;小时</td>
                @endforeach
            </tr>
        @endforeach
    </table>
@stop